package com.seabook.calparser.pojo;

public interface CalParserEnum {
	
	enum EnvIssue {
		DBMD("Database Markdown"),
		ONFE("ObjectNotFoundExceptions"),
		SDE("SearchDriverExceptions");

		private String desc;
		
		private EnvIssue(String desc) {
			this.desc = desc;
		}
		
		@Override
		public String toString() {
			return desc;
		}
		
		public static EnvIssue getEnvIssue(String envIssue) {
			if ("DBMD".equalsIgnoreCase(envIssue)) {
				return DBMD;
			} else if ("ONFE".equalsIgnoreCase(envIssue)) {
				return ONFE;
			} else if ("SDE".equalsIgnoreCase(envIssue)) {
				return SDE;
			} else
				throw new RuntimeException("Not valid Env Issue!!!");
		}
	}
	
	enum ReferencePool {
		v3suncore;
	}
	
	enum CalRanking {
		BUG("Bugs"),
		PDB ("Potential Duplicate Bug"),
		NMI("Need More Information"),
		NAB("Not a Bug");
		
		private String desc;
		
		private CalRanking(String desc) {
			this.desc = desc;
		}
		
		@Override
		public String toString() {
			return desc;
		}
	}
	
}
